home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / public / rayshade / libshade / defaults.h < prev    next >
C/C++ Source or Header  |  1994-08-01  |  2KB  |  57 lines

  1. /*
  2.  * defaults.h
  3.  *
  4.  * Copyright (C) 1989, 1991, Craig E. Kolb
  5.  * All rights reserved.
  6.  *
  7.  * This software may be freely copied, modified, and redistributed
  8.  * provided that this copyright notice is preserved on all copies.
  9.  *
  10.  * You may not distribute this software, in whole or in part, as part of
  11.  * any commercial product without the express consent of the authors.
  12.  *
  13.  * There is no warranty or other guarantee of fitness of this software
  14.  * for any purpose.  It is provided solely "as is".
  15.  *
  16.  * $Id: defaults.h,v 4.0 91/07/17 14:45:18 kolb Exp Locker: kolb $
  17.  *
  18.  * $Log:    defaults.h,v $
  19.  * Revision 4.0  91/07/17  14:45:18  kolb
  20.  * Initial version.
  21.  * 
  22.  */
  23. #ifndef DEFAULTS_H
  24. #define DEFAULTS_H
  25.  
  26. #define DEFSAMPLES    3    /* sqrt of number of samples */
  27.  
  28. #define XRESOLUTION    512        /* Default screen size (pixels) */
  29. #define YRESOLUTION    512
  30. #define DEFCUTOFF    0.002        /* Default tree cutoff value */
  31. #define MAXDEPTH    5        /* Maximum ray tree depth. */
  32. #define HFOV        45        /* Field-of-view */
  33. #define EYEX        0        /* Eye position */
  34. #define EYEY        -10
  35. #define EYEZ        0
  36. #define LOOKX        0        /* Look point */
  37. #define LOOKY        0
  38. #define LOOKZ        0
  39. #define UPX        0        /* Up vector */
  40. #define UPY        0
  41. #define UPZ        1
  42. #define GAMMA        1.        /* Default gamma */
  43. #define GAUSSIAN    FALSE        /* Use gaussian pixel filter? */
  44. #define FILTERWIDTH    1.8        /* Default gaussian filter width */
  45.  
  46. #if defined(LINDA) && !defined(WORKERS)
  47. #define WORKERS        4        /* Default # of workers. */
  48. #endif
  49.  
  50. #define REPORTFREQ    10        /* Frequency of status report */
  51.  
  52. #define DEFREDCONT    0.2        /* Default contrast threshold values. */
  53. #define DEFGREENCONT    0.15
  54. #define DEFBLUECONT    0.3
  55.  
  56. #endif /* DEFAULTS_H */
  57.